package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.ShareNeedMapper;
import com.rongke.model.ShareNeed;
import com.rongke.service.ShareNeedService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @ShareNeedServiceImpl
 * @前台展示股票代码ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class ShareNeedServiceImpl extends ServiceImpl<ShareNeedMapper, ShareNeed> implements ShareNeedService {
    @Autowired
    private ShareNeedMapper shareNeedMapper;

    public void  deleteSomeShareNeed(List<ShareNeed> shareList){
        shareNeedMapper.deleteSomeShareNeed(shareList);
    }

    public List<ShareNeed> selectCode(Map map){
        return  shareNeedMapper.selectCode(map);
    }

    public void insertSome(List<ShareNeed> shareList){
          shareNeedMapper.insertSome(shareList);
    }

}
